<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/8/17
 * Time: 10:04
 */

$con = mysqli_connect("localhost","root","1234","tieba");
if (!$con) {
    die('Could not connect: ' .mysqli_connect_error());
}